/*
 * @author dumeng
 */
'use strict'
import request from '@/utils/request'

export function fetchList4course(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/votingInfo/queryPageSaas',
    method: 'POST',
    data
  })
}

/**
 * 查询直播
 */
export function queryList(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/votingInfo/getSaas',
    method: 'POST',
    data
  })
}
/**
 * 关联平台端课程
 */
export function submitData(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/votingInfo/insertSaas',
    method: 'POST',
    data
  })
}
